<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Estore\Controller\Estore' => 'Estore\Controller\EstoreController',
        		'Estore\Controller\StoreAdmin' => 'Estore\Controller\StoreAdminController',
        ),
    ),
    'router' => array(
        'routes' => array(
            'estore' => array(
                'type'    => 'segment',
                'options' => array(
                    // Change this to something specific to your module
                    'route'    => '/estore[/:action][/:id][/:qnt][/:orderid]',
                	'constraints' => array(
                			'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                			'id'     => '[0-9]+',
                			'qnt'     => '[0-9]+',
                			),
                    'defaults' => array(
                        // Change this value to reflect the namespace in which
                        // the controllers for your module are found
                        '__NAMESPACE__' => 'Estore\Controller',
                        'controller'    => 'Estore\Controller\Estore',
                        'action'        => 'index',
                    ),
                ),

            ),//end estore
        		'storeadmin' => array(
        				'type'    => 'segment',
        				'options' => array(
        						// Change this to something specific to your module
        						'route'    => '/storeadmin[/:action][/:id]',
        						'constraints' => array(
        								'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
        								'id'     => '[0-9]+',
        						),
        						'defaults' => array(
        								// Change this value to reflect the namespace in which
        								// the controllers for your module are found
        								'__NAMESPACE__' => 'Estore\Controller',
        								'controller'    => 'Estore\Controller\StoreAdmin',
        								'action'        => 'index',
        						),
        				),
        		
        		),
        		
        ),
    ),
    'view_manager' => array(
        'template_path_stack' => array(
            'Estore' => __DIR__ . '/../view',
        ),
    ),
	'speck-paypal-api' => array(
			'username' => 'bupiotr-facilitator_api1.wp.pl',
			'password' => '1407159816',
			'signature' => 'A4x8Qz7.PuLxX1cPPHEoNfMK.2xmAo3YMAx99NJqLtMmKp.Ytw5gQogH',
			'endpoint' => 'https://api-3t.sandbox.paypal.com/nvp'
	)
);
